package cn.edu.buaa.cnsatm.traffic_big_data_server.railway.model;

import com.alibaba.fastjson.annotation.JSONField;

public class RailwayStatusModel{
    @JSONField(ordinal = 0)
    private String datetime;
    @JSONField(ordinal = 1)
    private String info;
    @JSONField(ordinal = 2)
    private String description;

    public RailwayStatusModel() {
    }

    public RailwayStatusModel(String datetime, String info, String description) {
        this.datetime = datetime;
        this.info = info;
        this.description = description;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "{" +
                ", datetime='" + datetime + '\'' +
                "info='" + info + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
